﻿using System;
using System.Collections.Generic;
using System.Net.Sockets;

namespace RexToy.Cassandra
{
    static class ConnectExceptionHelper
    {
        public static ConnectException CreateConnectError(Cluster.Context ctx)
        {
            return new ConnectException(ctx.Reason.GetDescription());
        }
    }
}
